/*
 * ASTNodeList.cpp
 *
 *  Created on: 2010-6-6
 *      Author: guobc
 */

#include "ASTNodeList.h"
using namespace HA;

ASTNodeList::ASTNodeList() :
	children() {

}

ASTNodeList::~ASTNodeList() {

}

ASTNode* ASTNodeList::item(int index) const{
	int size = children.size();
	if (index < 0 || index >= size)
		return NULL;
	return children[index];
}
